<div class="convocatorias form">
<?php echo $this->Form->create('Convocatoria');?>
	<fieldset>
 		<legend><?php __('Crear Convocatoria'); ?></legend>
 		<table>
		<tr><td><?php echo $this->Form->input('perfile_id', array('label'=>'Cargo'));?></td>
			<td><?php echo $this->Form->input('fecha_inicio');?></td>
			<td><?php echo $this->Form->input('fecha_fin');?></td>
			<td><?php echo $this->Form->input('tipo_contrato'); ?> </td>
		</tr>
		<tr>
			<td colspan="4"><?php echo $this->Form->input('departamentos',array('type'=>'select','size'=>'6','options'=>$departamentos, 'multiple'=>true));?></td>
		</tr>
		<tr>
			<td><?php echo $this->Form->input('salario'); ?> </td>
			<td><?php echo $this->Form->input('salario_publicado'); ?></td>
			<td><?php echo $this->Form->input('estado'); ?></td>
			<?php $proyectos = array('Administracion'=>'Administracion','CAE - Cartegena'=>'CAE - Cartegena','CAE - Soacha'=>'CAE - Soacha',
									 'CHF'=>'CHF','Consejo Noruego'=>'Consejo Noruego','MEN - Circulos'=>'MEN - Circulos');?>
			<td><?php echo $this->Form->input('proyecto',array('type'=>'select','options'=>$proyectos)); ?></td>
		</tr>
		</table>
		<?php echo $this->Form->end(__('Submit', true));?>
	</fieldset>
</div>
<div class="actions">
	<?php echo $this->Form->menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
</div>